From: Jakub Steiner Date: Mon, 15 Jul 2019 22:04:48 +0000 (+0200) Subject: theme: Provide icon helper classes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~25 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=043667dde571bfb11fff307bbf8bc5d2b8a72e5a;p=gnome-shell.git theme: Provide icon helper classes - to help present icons on light backgrounds, the new fullcolor icons need some help. Mimic gtk styles Needed for https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/168 --- diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss index 7e3f513ec..ae1bed6a7 100644 --- a/data/theme/gnome-shell-sass/_common.scss +++ b/data/theme/gnome-shell-sass/_common.scss @@ -619,6 +619,22 @@ StScrollBar { app menu inside the main app window itself rather than the top bar */ +/************* + * App Icons * + *************/ +/* Outline for low res icons */ +.lowres-icon { + icon-shadow: 0 -1px rgba(0,0,0,0.05), + 1px 0 rgba(0,0,0,0.1), + 0 1px rgba(0,0,0,0.3), + -1px 0 rgba(0,0,0,0.1); +} + +/* Drapshadow for large icons */ +.icon-dropshadow { + icon-shadow: 0 2px 12px rgba(0,0,0,0.1), + 0 1px 2px rgba(0,0,0,0.5); +} /* OSD */ .osd-window {